package com.wf.mall.util;

import cn.hutool.json.JSONUtil;

/**
 * @program: DistributedMall
 * @author: wf
 **/

public class JsonUtil {

    /**
     * json转换
     *
     * @author: 15621
     * @param:  object 待转换对象
     * @since: 2021/8/15
     */
    public static String toJson(Object object) {
        return JSONUtil.toJsonStr(object);
    }
}
